Facebook\Tests\FacebookClientTest S

Total Complexity 18
Dependencies 11
Dependents 0
Total lines 254
Lines of code 163
Logical lines of code 89
Comment lines 25
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
initializeTestApp()
S
56 4 20
testCanCreateATestUserAndGetTheProfileAndThenDeleteTheTestUser()
S
48 1 38
testAFacebookBatchRequestWillProperlyBatchFiles()
S
53 1 23
testTheHttpClientWillFallbackToDefault()
S
65 2 9
testAFacebookBatchRequestEntityCanBeUsedToSendABatchRequestToGraph()
S
61 1 12
setUp()
S
75 1 4
testACustomHttpClientCanBeInjected()
S
70 1 6
testBetaModeCanBeDisabledOrEnabledViaConstructor()
S
67 1 8
testBetaModeCanBeDisabledOrEnabledViaMethod()
S
66 1 9
testGraphVideoUrlCanBeSet()
S
65 1 9
testAFacebookRequestEntityCanBeUsedToSendARequestToGraph()
S
67 1 7
testARequestOfParamsWillBeUrlEncoded()
S
68 1 6
testARequestWithFilesWillBeMultipart()
S
66 1 7
testAFacebookRequestValidatesTheAccessTokenWhenOneIsNotProvided()
S
72 1 5